from django.conf.urls.defaults import *
from django.views.static import serve
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    (r'^books/',include('pyweb.books.urls')),
    (r'^admin/(.*)', admin.site.root),
    (r'^accounts/',include('django.contrib.auth.urls')),
    (r'^css/(?P<path>.*)$', serve,{'document_root': 'D:/Tools/workspace-python/pyweb/media/css/'}),
    (r'^img/(?P<path>.*)$', serve,{'document_root': 'D:/Tools/workspace-python/pyweb/media/img/'})
)